package com.wwx.worldonwheels.mapper;

import com.wwx.worldonwheels.domain.WwxInvoice;
import com.wwx.worldonwheels.domain.WwxInvoiceExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface WwxInvoiceMapper {
    long countByExample(WwxInvoiceExample example);

    int deleteByExample(WwxInvoiceExample example);

    int deleteByPrimaryKey(Integer invoiceId);

    int insert(WwxInvoice record);

    int insertSelective(WwxInvoice record);

    List<WwxInvoice> selectByExample(WwxInvoiceExample example);

    List<WwxInvoice> selectByCustId(Integer custId);

    WwxInvoice selectByPrimaryKey(Integer invoiceId);

    int updateByExampleSelective(@Param("record") WwxInvoice record, @Param("example") WwxInvoiceExample example);

    int updateByExample(@Param("record") WwxInvoice record, @Param("example") WwxInvoiceExample example);

    int updateByPrimaryKeySelective(WwxInvoice record);

    int updateByPrimaryKey(WwxInvoice record);
}